<!-- Add code to initialize the tree when the document is loaded: -->
<!--script type='text/javascript'>
    $(function(){
        // Attach the dynatree widget to an existing <div id="tree"> element
        // and pass the tree options as an argument to the dynatree() function:
        $("#tree").dynatree({
            onActivate: function(dtnode) {
                // A DynaTreeNode object is passed to the activation handler
                // Note: we also get this event, if persistence is on, and the page is reloaded.
                alert("Category ID :" + dtnode.data.key +", Category Name :"+dtnode.data.title);

            }

        });
    });
</script-->
<script>
    auto_select_fav_items();
</script>
 <!--    <span class="topRightLink" > <a href="#" >bread crump</a> <a href="#">>></a> <a href="#">Place Holder</a></span>   -->
   <span class="topRightLink" > {{$cat_path}}</span> 
<br/>
<h1 class="h1Text" style="margin: 0px">Products</h1>

<div style="margin: 10px;clear: both">
    {{load_specific_view name="sort_options" module="search"}}
</div>

<ul>
    {{foreach from=$cat_products item=cp}}    
    <li >        
        {{load_specific_view name="product_info" module="product" product=$cp}}
    </li>
    {{/foreach}}
</ul>

{{$page_link}}